<template>
  <a :title="title" style="margin:10px">
      <!-- $attrs:组件实例自身的属性,可以获取到父组件传递过来的props数据 -->
      <button v-bind="$attrs" v-on="$listeners"></button>
  </a>
</template>

<script>
export default {
    name:'HintButton',
    props:['title']
}
</script>

<style>

</style>